
#ifndef _MYCONTROL_H_H
#define _MYCONTROL_H_H
#include <windows.h>


class MyComboBox
{
public:
	
	MyComboBox(int nIDDlgItem);
	void SetString(char *str);
	BOOL OnSelItem(int index);
	
private:
	int index;
	HWND hwndCombo;

};


class MyListBox
{
public:
	MyListBox(int nIDDlgItem);
	void SetItem(int item);
	BOOL OnSelItem(int item);
private:
	int item;
	HWND hwndListBox;
};


class MyListView
{
public:
	MyListView(int nIDDlgItem);
	void InsertColumn(int index,char *str);
	BOOL OnSelItem(int item);
private:
	int item;
	HWND hwndListBox;
};

#endif